home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / DATAUTIL / DBPRINT.LZH / DPRINT.DOC next >
Text File  |  1988-10-13  |  9KB  |  241 lines

  1.                                    dPRINT
  2.  
  3.  
  4.           A printer control utility to be used from within dBASE.
  5.  
  6.  
  7.                                      by
  8.  
  9.                       ADVANCED SOFTWARE SYSTEMS, INC.
  10.                             309 BLACKSMITH ROAD
  11.                            CAMP HILL,  PA  17011
  12.  
  13.  
  14.  
  15.  
  16.                                 INTRODUCTION
  17.  
  18.  
  19.    The provisions for controlling a printer from within dBASE and its
  20.    clones are cumbersome and tedious.  For this reason dPRINT was de-
  21.    veloped.  By using the RUN command in dBASE, both in the interactive
  22.    mode or from within program files, many printer functions are easily
  23.    invoked or canceled.  In order for dPRINT to work the printer must
  24.    be an IBM printer or be capable of interpreting IBM commands, such as
  25.    the EPSON in the IBM mode.  Also, the DPRINT.EXE file must be in your
  26.    working directory or in a directory to which a path is set.
  27.   
  28.  
  29.                                   SYNTAX
  30.  
  31.    At either the interactive dot prompt or on a program line the proper
  32.    usage of dPRINT is:
  33.  
  34.                           RUN dPRINT XX,XX,XX,XX,XX
  35.  
  36.    Each XX in the example represents a two letter command.  The two
  37.    letter commands and their functions are:
  38.  
  39.                    SC - Start Condensed Print
  40.                    CC - Cancel Condensed Print
  41.                    SE - Start Emphasized Print
  42.                    CC - Cancel Emphasized Print
  43.                    SD - Start Double Strike
  44.                    CD - Cancel Double Strike
  45.                    SQ - Start Near Letter Quality
  46.                    CQ - Cancel Near Letter Quality
  47.                    SP - Start Auto Perforation Skip
  48.                    CP - Cancel Auto Perforation Skip
  49.                    SW - Start Double Wide Print
  50.                    CW - Cancel Double Wide Print
  51.                    SU - Start Underscore
  52.                    CU - Cancel Underscore
  53.                    L7 - Set Page Length to 7 Inches
  54.                    L1 - Set Page Length to 11 Inches
  55.                    L4 - Set Page Length to 14 Inches
  56.                    08 - Set to 8 Lines Per Inch
  57.                    FF - Perform Form Feed
  58.                    RR - Reset to Power-up Settings
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.    When issuing the RUN dPRINT command either 1,2,3,4 or 5 of these
  66.    commands may be used.  Just remember to separate them with commas
  67.    if more than one command is used.
  68.    
  69.  
  70.                                  EXAMPLES
  71.  
  72.    As an example, say you wanted to print a line in Near Letter Quality
  73.    while in the interactive mode:
  74.   
  75.    . RUN DPRINT SQ
  76.    . ? 'This line would be printed in near letter quality'
  77.    . RUN DPRINT CQ
  78.  
  79.    In this example the first command turns on the near letter quality
  80.    mode, the second command prints the line and the third line cancels
  81.    the near letter quality mode.
  82.  
  83.    As another example say you were writing a program in which the first
  84.    line should be double wide print and the second line should be normal
  85.    size, near letter quality, and underlined.  Your program segment 
  86.    would appear as:
  87.   
  88.    RUN DPRINT SW                                  && start double wide
  89.    ? 'This line would be printed double wide'     && print line
  90.    RUN DPRINT CW,SQ,SU      && cancel wide, start NLQ,start underscore
  91.    ? 'This line would be NLQ and underlined'
  92.    RUN DPRINT CU                                  && cancel underscore
  93.  
  94.    Since the CQ command to cancel the near letter quality mode has not
  95.    been issued subsequent lines would be printed in near letter quality.
  96.  
  97.               
  98.                        EXACTLY WHAT THE COMMANDS DO
  99.  
  100.    SC - Start Condensed Mode
  101.         This command changes character spacing to condensed printing which
  102.         is 17.1 characters per inch.
  103.  
  104.    CC - Cancel Condensed Mode
  105.         This command cancels the condensed mode and returns spacing to 
  106.         the normal 10 characters per inch. 
  107.  
  108.    SE - Start Emphasized Print
  109.         Causes the print head to strike each character twice to produce
  110.         a darker, bolder character.
  111.  
  112.    CE - Cancel Emphasized Print
  113.         Stops printing in emphasized print mode.
  114.  
  115.    SD - Start Double Strike
  116.         Prints each character twice to make the print to appear darker.
  117.  
  118.  
  119.  
  120.  
  121.  
  122.    CD - Cancel Double Strike
  123.         Cancels double strike printing which was started with the SD
  124.         command.
  125.  
  126.    SQ - Start Near Letter Quality
  127.         Causes subsequent lines to be printed in the printers resident
  128.         near letter quality print mode.
  129.  
  130.    CQ - Cancel Near Letter Quality
  131.         Stops the printers near letter quality mode and returns the
  132.         printer to the printers standard DP mode.
  133.  
  134.    SP - Start Automatic Perforation Skip
  135.         Causes the printer to skip the perforation between pages of
  136.         continuous forms.  This skip recognizes the length of the
  137.         form which is set by the L7,L1 and L4 commands.
  138.   
  139.    CP - Cancels the automatic perforation skip which was started using
  140.         the SP command.
  141.   
  142.    SW - Start Double Wide Print
  143.         Causes subsequent lines to be printed in characters which are
  144.         twice as wide as the current character spacing.  This prints
  145.         half as many characters per inch.
  146.   
  147.    CW - Cancel Double Wide Print
  148.         Stops the double wide print started with the SW command and
  149.         causes subsequent lines to be printed with normal character
  150.         spacing.
  151.  
  152.    SU - Start Underscore
  153.         Begins underscoring.  All spaces and characters that follow
  154.         will be underscored.
  155.   
  156.    CU - Cancel Underscore.
  157.         Stops underscoring which was started with the SU command.
  158.   
  159.    L7 - Set Page Length to 7 Inches 
  160.         Sets the length of the current printed page to 7 inches
  161.         which is equal to 42 lines when in the normal 6 lines per 
  162.         inch mode.
  163.   
  164.    L1 - Set Page Length to 11 Inches
  165.         Sets the length of the current printed page to 11 inches
  166.         which is equal to 66 lines when in the normal 6 lines per
  167.         inch mode.
  168.  
  169.    L4 - Sets Page Length to 14 Inches
  170.         Sets the length of the current printed page to 14 inches
  171.         which is equal to 84 lines when in the normal 6 lines per
  172.         inch mode.
  173.  
  174.    08 - Set to 8 Lines Per Inch
  175.         Sets line spacing to eight lines per inch.  At power-up
  176.         the default line spacing is six lines per inch.
  177.   
  178.  
  179.  
  180.  
  181.  
  182.  
  183.    FF - Form Feed
  184.         Advances the paper to the next top of form and performs a
  185.         carriage return.
  186.   
  187.    RR - Reset to Power-up Settings
  188.         Returns all settings to their original power-up state.
  189.  
  190.  
  191.                              A WORD ABOUT USING RR
  192.  
  193.    Whenever the command RR is used when invoking dPRINT it takes
  194.    precedence over all other commands.  That is, all other commands
  195.    are ignored and everything is reset to the printers Power-up
  196.    settings.
  197.  
  198.  
  199.                             PRINT MODES IN COMBINATION
  200.  
  201.    When using the dPRINT commands in combinations you must keep in
  202.    mind that not all combinations work together.  When you use comb-
  203.    inations of print modes some modes take priority and suppress
  204.    other modes.  If you have problems with your combinations check
  205.    the Print MOde Priority Chart in your printer's manual.
  206.  
  207.  
  208.                                    SHAREWARE
  209.  
  210.    dPRINT is being sold under the shareware concept.  It is not
  211.    public domain software.  It is a copyrighted program with all
  212.    rights reserved.  If the program suits your needs and you continue
  213.    to use it, you are expected to register your copy by sending $ 19
  214.    along with the completed registration.  Registration assures you
  215.    of receiving future versions of dPRINT and gives you a clear
  216.    conscience.
  217.     
  218.  
  219.  
  220.  
  221.  
  222.    -----------------------------------------------------------------------
  223.                                REGISTRATION STATEMENT
  224.  
  225.    I have enclosed $19.00 please record my registration as a user of
  226.    dPRINT.
  227.  
  228.  
  229.                NAME :______________________________________________________
  230.  
  231.              STREET :______________________________________________________
  232.  
  233.    CITY, STATE, ZIP :______________________________________________________
  234.  
  235.  
  236.            MAKE CHECKS PAYABLE TO:   Advanced Software Systems, Inc.
  237.                           MAIL TO:   309 Blacksmith Road
  238.                                      Camp Hill, PA  17011
  239.  
  240.    -----------------------------------------------------------------------
  241.